package com.xxx.dao;

import com.xxx.entity.OrderProduce;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxx.entity.dto.OrderProduceDto;
import com.xxx.entity.query.OrderProduceQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xxx
 * @since 2024-11-24
 */

@Mapper
public interface OrderProduceDao extends BaseMapper<OrderProduce> {

    List<OrderProduceDto> selectByCondition(OrderProduceQuery orderProduceQuery);

    List selectByPage(@Param("current") Integer current,
                      @Param("size") Integer size);
}
